﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Dal = RentAWorker.DataAccess.Entities;

namespace RentAWorker.Business.Interfaces
{
    /// <summary>
    /// Registration service for new customers
    /// </summary>
    /// <remarks>Required Security Roles: FrontOffice</remarks>
    [ServiceContract]
    public interface ICustomerService
    {
        [OperationContract]
        int RegisterNewCustomer(Guid membershipId, string companyName);
        [OperationContract]
        Dal.Customer GetCustomer(int id);
        [OperationContract]
        int GetCustomerForUser(Guid membershipId);
    }
}
